package com.xiaofeng.subject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2024/01/23/15:20
 * @Description: 刷题微服务主启动类
 */
@SpringBootApplication
@ComponentScan("com.xiaofeng")
@MapperScan("com.xiaofeng.**.mapper")
@EnableFeignClients(basePackages = "com.xiaofeng")
public class SubjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(SubjectApplication.class);
    }
}
